package com.simple.auth.domain.dto;

import com.simple.auth.enums.AuthType;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Description 发送短信Dto
 * @Author xiaoke
 * @Date 2024/8/10 18:00
 * @Version 1.0
 */
@Data
public class AuthSendSmsDto {
    @NotBlank(message = "手机号码不能为空")
    //手机号
    private String phone;
    @NotNull(message = "认证类型不能为空")
    //认证类型
    private AuthType authType;
}
